<?php if (!defined('THINK_PATH')) exit();?>
		<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title> <?php if(($category['title']) != ""): echo ($category["title"]); ?>--<?php endif; ?>
    <?php echo C('WEB_SITE_TITLE');?></title>
	<meta name="description" content="<?php echo C('WEB_SITE_DESCRIPTION');?>" />
	<meta name="keywords" content="<?php echo C('WEB_SITE_KEYWORD');?>" /> 
      <link rel="shortcut  icon" type="image/x-icon" href="<?php echo get_cover(C('BROWSERID'),'path');?>" media="screen"  />
          <script language="javascript" src="/Public/home/js/jquery-1.7.2.min.js"></script>
	<link rel="stylesheet" href="/Public/home/css/base.css" />
</head>
<body>
	<!-- 公共头部 -->
	<div class="d-public-header">
    <div class="d-public-header-top">
			<div class="d-public-header-top-center"> 
				<div class="d-public-header-left">今天是：<span class="d-public-header-left-date"  id=localtime>
<script type="text/javascript">
function showLocale(objD)
{
	var str,colorhead,colorfoot;
	var yy = objD.getYear();
	if(yy<1900) yy = yy+1900;
	var MM = objD.getMonth()+1;
	if(MM<10) MM = '0' + MM;
	var dd = objD.getDate();
	if(dd<10) dd = '0' + dd;
	var hh = objD.getHours();
	if(hh<10) hh = '0' + hh;
	var mm = objD.getMinutes();
	if(mm<10) mm = '0' + mm;
	var ss = objD.getSeconds();
	if(ss<10) ss = '0' + ss;
	var ww = objD.getDay();
	if  ( ww==0 )  colorhead="<font color=\"#000\">";
	if  ( ww > 0 && ww < 6 )  colorhead="<font color=\"#000\">";
	if  ( ww==6 )  colorhead="<font color=\"#000\">";
	if  (ww==0)  ww="星期日";
	if  (ww==1)  ww="星期一";
	if  (ww==2)  ww="星期二";
	if  (ww==3)  ww="星期三";
	if  (ww==4)  ww="星期四";
	if  (ww==5)  ww="星期五";
	if  (ww==6)  ww="星期六";
	colorfoot="</font>"
	str = colorhead + yy + "-" + MM + "-" + dd + " " + hh + ":" + mm + ":" + ss + "  " + ww + colorfoot;
	return(str);
}
function tick()
{
	var today;
	today = new Date();
	document.getElementById("localtime").innerHTML = showLocale(today);
	window.setTimeout("tick()", 1000);
}
tick();
</script></span></div>
				<span class="d-public-header-right">
					<ul>
                    <?php if(!is_login()){ ?>
						<li><a href="/User/Public/login.html"><img src="/Public/home/images/d-public-header-right-image1.jpg" /><span>登录</span></a></li>
                        <?php }else{ ?>
                        <li><a href="/User/Config/index.html"><span>会员管理</span></a></li>
                        <?php } ?>
						<li><a href="/User/Public/register.html"><img src="/Public/home/images/d-public-header-right-image2.jpg" /><span>注册</span></a></li>
						<li><a href="/"><img src="/Public/home/images/d-public-header-right-image3.jpg" /><span>返回首页</span></a></li>
					</ul>
				</span>
			</div>
		</div>
		<div class="d-public-header-center">
			<div class="d-public-header-center-center">
				<div class="index-logo"><img src="<?php echo get_cover(C('LOGO'),'path');?>" width="465" height="98"/></div>
				<div class="index-input">
					<div class="index-input-text">站内搜索：</div>
						<div class="index-input-frame">
		   					<form action="<?php echo U('Article/search/');?>" method="get">
		   						<input name="search" type="text" class="index-input-frame-1" id="search" />
								<input class="index-input-frame-2" type="submit" value="" />
		   					</form>
						</div>
				</div>
				
			</div>
		</div>
		<link href="/Public/home/css/common.css" rel="stylesheet" type="text/css" />
	<script src="/Public/home/js/jquery.common.js" type="text/javascript" language="javascript"></script>
		<div class="d-public-nav22">
			<div class="d-public-nav-122">
				<ul >
							<?php $_result = M("Category")->order("sort")->where("display=1 AND status=1 AND groups='top'")->select();if($_result):$i=0;foreach($_result as $key=>$cate): ++$i;$mod = ($i % 2 );if($cate):?><li><a href="<?php echo (caurl($cate)); ?>"><?php echo ($cate["title"]); ?></a></li><?php endif; endforeach; endif;?>
						</ul>
			</div>
			
		</div>
	</div>

<div class="sub">
    <div class="subzuo">
     <div class="biaoti">
            <div class="biaoti1"><a>会员登录</a></div>
            <div class="biaoti2">当前位置：<?php echo get_posation($category['id']);?>会员登录</div>
        	<div class="clearfix"></div>
        </div>
        
        	
         
			<div class="personal_z">
			
            <div class="find_pwd">
		<div class="step s1"></div>
		<div class="steptxt">
			<div class="tli font_blue">1.验证账号信息</div>
			<div class="tli">2.设置新密码</div>
			<div class="tli">3.找回成功</div>
			<div class="clear"></div>
		</div>
		<div class="rl J_focus">
			<div class="td1">
				<div class="input_295_34 select_input J_dropdown J_listitme_parent">
					<span class="J_listitme_text">通过绑定的手机找回密码</span>
					<div class="dropdowbox1 J_dropdown_menu">
						<div class="dropdow_inner1">
							<ul class="nav_box">
								<li><a class="J_listitme" href="javascript:;" data-code="">通过手机找回密码</a></li>								<li><a class="J_listitme" href="javascript:;" data-code="">通过注册邮箱找回密码</a></li>
							</ul>
						</div>
					</div>
				</div>
			</div>
			<div class="clear"></div>
			<div class="mobileshow J_listitme_group">
					<form id="getPassByMobileForm" action="http://php-test8.215.jlbbc.cn/index.php?m=&amp;c=members&amp;a=user_getpass" method="post" onkeydown="if(event.keyCode==13){return false;}">
						<div class="selecttip">系统将发送验证码短信到您的手机上，请注意查收</div>
						<div class="J_validate_group">
							<div class="td1">
								<input class="input_295_34" name="mobile" id="mobile" type="text" placeholder="请输入手机号">
							</div>
							<div class="td2 J_showtip_box"></div>
							<div class="clear"></div>
						</div>
						<div class="J_validate_group">
							<div class="td1">
								<div class="code">
									<input name="mobile_vcode" id="mobile_vcode" type="text" class="input_295_34" placeholder="请输入短信验证码">
								</div>
								<div class="codebtn">
									<input type="button" class="btn_yellow J_hoverbut" id="J_getverificode" value="获取验证码">
									<input type="hidden" id="origin_btnCheck" style="display: none;"><input type="hidden" id="btnCheck">
								</div>
								<div class="clear"></div>
							</div>
							<div class="td2 J_showtip_box"></div>
							<div class="clear"></div>
						</div>
						<div class="btnbox">
							<input type="hidden" name="token" value="32001253531591ff">
							<input type="hidden" name="type" value="1">
							<input type="submit" value="下一步" class="btn_reg J_hoverbut">
						</div>
					</form>
				</div>			
			<div class="emailshow J_listitme_group">
				<form id="getPassByEmailForm" action="http://php-test8.215.jlbbc.cn/index.php?m=&amp;c=members&amp;a=user_getpass" method="post" onkeydown="if(event.keyCode==13){return false;}">
					<div class="selecttip">系统将发出一封验证邮件到您的注册（或绑定的）邮箱，<br>通过验证邮件就可以重新设置密码了</div>
					<div class="J_validate_group">
						<div class="td1">
							<input class="input_295_34" name="email" id="email" type="text" placeholder="请输入邮箱">
						</div>
						<div class="td2 J_showtip_box"></div>
						<div class="clear"></div>
					</div>
					<div class="btnbox">
						<input type="hidden" name="token" value="32001253531591ff">
						<input type="hidden" name="type" value="2">
						<input type="submit" value="下一步" class="btn_reg J_hoverbut">
					</div>
				</form>
			</div>
			<div class="bottom_appeal_tip link_blue"><strong>上面的方式都不可用？</strong><br>
				你还可以进行 <a href="http://php-test8.215.jlbbc.cn/index.php?m=Home&amp;c=Members&amp;a=appeal_user">账号申诉</a> 或 电话联系我们 <span class="font_blue">(0431-80811280/290)</span></div>
			</div>
		</div>
        
		</div>
			<div style="clear: both;"></div>
		
		</div>



          
        </div>
    </div>


     <div class="subyou">

<?php if($category['topid']) { if($category['child']){ $pid=$category['topid']; }else if($category['topid']!=$category['id']){ $pid=$category['topid']; } } ?>
     <?php if($pid){ ?>
<div class="sub_left">
  <?php $cate = M("Category")->find($pid);if($cate):?><div class="sub_left_bt"><?php echo ($cate["title"]); ?></div><?php endif;?>
<div class="sub_left_nr">
<ul>
<?php $_result = M("Category")->order("sort")->where("display=1 AND status=1 AND pid=$pid")->select();if($_result):$i=0;foreach($_result as $key=>$cate): ++$i;$mod = ($i % 2 );if($cate):?><li><a href="<?php echo (caurl($cate)); ?>"><?php echo ($cate["title"]); ?></a></li><?php endif; endforeach; endif;?>
</ul>
</div>
</div>

 <?php } ?>
    
    <div class="youzuixingonggao">
      <?php $cate = M("Category")->find(1158);if($cate):?><div class="zuixingonggaowenzi"><a><?php echo ($cate["title"]); ?></a>
    <div class="gengduowenzi"><a href="<?php echo (caurl($cate)); ?>">更多</a></div><?php endif;?>
 
    </a></div>
 <div class="aboutxinwenliebiao">
  <ul>
  
  <?php $__CATE__ = D('Category')->getChildrenId(1158);$__POSLIST__ = D('Document')->position(1,$__CATE__ ,9,true,""); if(is_array($__POSLIST__)): $i = 0; $__LIST__ = $__POSLIST__;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$article): $mod = ($i % 2 );++$i;?><li><a href="<?php echo U('Article/detail?id='.$article['id']);?>">▪ <?php echo msubstr($article['title'],0,15);?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>

      
     </ul>

 </div>
       <?php $cate = M("Category")->find(1157);if($cate):?><div class="abouttubiao1"><a href="<?php echo (caurl($cate)); ?>"><img src="<?php echo (get_cover($cate["cover_id"],'path')); ?>"></a><?php endif;?>
 </div>
 <?php $cate = M("Category")->find(1159);if($cate):?><div class="abouttubiao2"><a href="<?php echo ($cate["linkurl"]); ?>" target="_blank"><img src="<?php echo (get_cover($cate["cover_id"],'path')); ?>"></a><?php endif;?>
 </div>
 
 <?php $cate = M("Category")->find(1160);if($cate):?><div class="abouttubiao3"><a href="<?php echo (caurl($cate)); ?>"><img src="<?php echo (get_cover($cate["cover_id"],'path')); ?>"></a><?php endif;?>
 
 </div>
 
 <?php $cate = M("Category")->find(1161);if($cate):?><div class="abouttubiao4"><a href="<?php echo ($cate["linkurl"]); ?>" target="_blank"><img src="<?php echo (get_cover($cate["cover_id"],'path')); ?>"></a><?php endif;?>
 
 </div>
    
    </div>
    
    </div>
   
    
    
    <div class="clearfix"></div>
</div>

	<!-- 公共底部 -->
	<div class="index-footer">

		<?php echo W('Common/Ad/run',array('link'));?>
		<div class="index-footer-bottom">
			<div class="index-footer-bottom-top">
            
             <?php $cate = M("Category")->find(1163);if($cate): echo ($cate["description"]); endif;?>
                
				地址：<?php echo C('ADDRESS');?> 邮编：<?php echo C('CODE');?> 电话：<?php echo C('PHONE');?> <?php echo C('COPYRIGHT');?>  技术支持：<a href="http://www.jlccsn.com/" target="_blank" title="长春网站建设找南北科技" style="color:#fff;">南北科技</a> <br /><?php echo C('WEB_SITE_ICP');?><a href="<?php echo C('PUBLICLINK');?>" target="_blank"  style="margin-left:5px; margin-right:5px; color:#fff;"><img src="/Public/images/ba.png"><?php echo C('PUBLICICP');?></a><img src="/Public/images/gs.png" style="margin-left:5px; margin-right:5px;"><?php echo C('STATSCODE');?><br />
			</div>
			<div class="index-footer-bottom-bottom">
				<ul>
                   <?php $friendlink = M()->query("select * from __TABLE__friendlink where sorts=1");if($friendlink): endif;?>
                 <?php if(is_array($friendlink)): $i = 0; $__LIST__ = $friendlink;if( count($__LIST__)==0 ) : echo "$result" ;else: foreach($__LIST__ as $key=>$data): $mod = ($i % 2 );++$i;?><li><a href="<?php echo ($data["url"]); ?>" target="_blank">&nbsp;<?php echo ($data["title"]); ?>&nbsp;|</a></li><?php endforeach; endif; else: echo "$result" ;endif; ?>
				</ul>
			</div>
		</div>
	</div>
</body>
</html>

<script type="text/javascript" src="/Public/home/js/jquery.validate.js"></script>
		<script type="text/javascript" src="/Public/home/js/jquery.listitem.js"></script>
		<script type="text/javascript" src="/Public/home/js/jquery.dropdown.js"></script>
		<script type="text/javascript" src="/Public/home/js/jquery.validate.getpass.js"></script>
		<script src="http://static.geetest.com/static/tools/gt.js"></script>
		<script type="text/javascript">
			// 找回方式切换
			$('.J_listitme').click(function(event) {
				var indexValue = $('.J_listitme').index(this);
				$('.J_listitme_group').eq(indexValue).show().siblings('.J_listitme_group').hide();
			});
            var captcha_open = eval($('#J_captcha_open').val());
			// 点击获取验证码先判断是否输入了手机号
			var regularMobile = /^13[0-9]{9}$|14[0-9]{9}$|15[0-9]{9}$|18[0-9]{9}$|17[0-9]{9}$/;
			$('#J_getverificode').click(function() {
				var mobileValue = $.trim($('#mobile').val());
				if (mobileValue == '') {
					disapperTooltip("remind", "请输入手机号码");
					$('#mobile').focus();
					return false;
				};
				if (mobileValue != "" && !regularMobile.test(mobileValue)) {
					disapperTooltip("remind", "请输入正确的手机号码");
					$('#mobile').focus();
					return false;
				}
				$.ajax({
		            url: "<?php echo U('/User/Members/ajax_check');?>",
		            cache: false,
		            async: false,
		            type: 'post',
		            dataType: 'json',
		            data: { type: 'mobile', param: mobileValue },
		            success: function(json) {
		                if (json && json.status) {
		                    disapperTooltip("remind", "该手机号没有注册账号");
							$('#mobile').focus();
							return false;
		                } else {
                            if (captcha_open) {
                                $("#btnCheck").click();
                            } else {
                                $.ajax({
                                    url: "<?php echo U('/User/Members/reg_send_sms');?>",
                                    type: 'POST',
                                    dataType: 'json',
                                    data: {mobile: $.trim($('#mobile').val()), sms_type: 'getpass'}
                                })
                                .done(function(data) {
                                    if (parseInt(data.status)) {
                                        disapperTooltip("success", "验证码已发送，请注意查收");
                                        // 开始倒计时
                                        var countdown = 180;
                                        function settime() {
                                            if (countdown == 0) {
                                                $('#J_getverificode').prop("disabled", 0);
                                                $('#J_getverificode').removeClass('btn_disabled');
                                                $('#J_getverificode').val('获取验证码');
                                                countdown = 180;
                                                return;
                                            } else {
                                                $('#J_getverificode').prop("disabled", !0);
                                                $('#J_getverificode').addClass('btn_disabled');
                                                $('#J_getverificode').val('重新发送' + countdown + '秒');
                                                countdown--;
                                            }
                                            setTimeout(function() {
                                                settime()
                                            },1000)
                                        }
                                        settime();
                                    } else {
                                        disapperTooltip("remind", data.msg);
                                    }
                                });
                            }
		                }
		            }
		        });
			});
			if (eval($('#J_sms_open').val())) {
					$.ajax({
			        // 获取id，challenge，success（是否启用failback）
			        url: qscms.root+'?m=Home&c=Captcha&t=' + (new Date()).getTime(), // 加随机数防止缓存
			        type: "get",
			        dataType: "json",
			        success: function (data) {
			            // 使用initGeetest接口
			            // 参数1：配置参数
			            // 参数2：回调，回调的第一个参数验证码对象，之后可以使用它做appendTo之类的事件
			            initGeetest({
			                gt: data.gt,
			                challenge: data.challenge,
			                product: "popup", // 产品形式，包括：float，embed，popup。注意只对PC版验证码有效
			                offline: !data.success // 表示用户后台检测极验服务器是否宕机，一般不需要关注
			            }, handler);
			        }
			    });

			    var handler = function(captchaObj) {
					captchaObj.appendTo("#popup-captcha");
					captchaObj.bindOn("#btnCheck");
					captchaObj.onSuccess(function() {
						$.ajax({
							url: "<?php echo U('/User/Members/reg_send_sms');?>",
							type: 'POST',
							dataType: 'json',
							data: {mobile: $.trim($('#mobile').val()), sms_type: 'getpass',geetest_challenge: $("input[name='geetest_challenge']").val(),geetest_validate: $("input[name='geetest_validate']").val(),geetest_seccode: $("input[name='geetest_seccode']").val()}
						})
						.done(function(data) {
							if (parseInt(data.status)) {
								disapperTooltip("success", "验证码已发送，请注意查收");
								// 开始倒计时
								var countdown = 180;
								function settime() {
									if (countdown == 0) {
										$('#J_getverificode').prop("disabled", 0);
										$('#J_getverificode').removeClass('btn_disabled');
										$('#J_getverificode').val('获取验证码');
										countdown = 180;
										return;
									} else {
										$('#J_getverificode').prop("disabled", !0);
										$('#J_getverificode').addClass('btn_disabled');
										$('#J_getverificode').val('重新发送' + countdown + '秒');
										countdown--;
									}
									setTimeout(function() { 
								    	settime()
									},1000)
								}
								settime();
							} else {
								disapperTooltip("remind", data.msg);
							}
						});
					});
					captchaObj.onFail(function() {
						
					});
					captchaObj.onError(function() {
						
					});
					captchaObj.getValidate()
				};
			}
			
		</script>